package com.ngkj.zmfptback.sys.initData.servicie.read;

import com.ngkj.zmfptback.sys.initData.bean.SysArea;

import java.util.List;
import java.util.Map;

/**
 * @author ChenHN
 * @since 2021/11/1 creation
 **/
public interface AreaService {

    Map<String, List<SysArea>> getAllAreas();

    List<SysArea> getSelectAreas(String pid);

    Map<String,List<SysArea>> getGroupFirst();

    Map<String,List<SysArea>> getGroupFirstFromCache();

    List<Map<String,Object>> getAllAreas2Tree(SysArea sysArea);

    Map<String,Object> getAreaById(String id);


    Long getAreaIdByAreaCode(String areaCode);
}
